package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserPreHomepageEntity;
import java.util.Date;
import java.util.List;

/**
* User: linqu
* Date: 2023-08-08
* Time: 17:46:55.382
*/
public interface UserPreHomepageDao  extends BaseMapper<UserPreHomepageEntity> {

    int batchInsert(List<UserPreHomepageEntity> userPreHomepageEntityList);

    UserPreHomepageEntity queryByUserCode(String userCode, String userCodeWlm);

    List<UserPreHomepageEntity> queryOnlineUser(String modelUserCode);

    int updateEffectiveDate(String userCode, String userCodeWlm, Date effectiveDate);

    int removeRemoveUnEffectiveRecord();

    List<UserPreHomepageEntity> queryOverEffectiveRecord();
}